Optimal. Leaf size=33 \[ \frac{1}{4} x^4 (A c+b B)+\frac{1}{2} A b x^2+\frac{1}{6} B c x^6 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0375626, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {1584, 444, 43} \[ \frac{1}{4} x^4 (A c+b B)+\frac{1}{2} A b x^2+\frac{1}{6} B c x^6 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 444
Rule 43
Rubi steps
\begin{align*} \int \frac{\left (A+B x^2\right ) \left (b x^2+c x^4\right )}{x} \, dx &=\int x \left (A+B x^2\right ) \left (b+c x^2\right ) \, dx\\ &=\frac{1}{2} \operatorname{Subst}\left (\int (A+B x) (b+c x) \, dx,x,x^2\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \left (A b+(b B+A c) x+B c x^2\right ) \, dx,x,x^2\right )\\ &=\frac{1}{2} A b x^2+\frac{1}{4} (b B+A c) x^4+\frac{1}{6} B c x^6\\ \end{align*}
Mathematica [A] time = 0.0074786, size = 33, normalized size = 1. \[ \frac{1}{4} x^4 (A c+b B)+\frac{1}{2} A b x^2+\frac{1}{6} B c x^6 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0., size = 28, normalized size = 0.9 \begin{align*}{\frac{Ab{x}^{2}}{2}}+{\frac{ \left ( Ac+Bb \right ){x}^{4}}{4}}+{\frac{Bc{x}^{6}}{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.13298, size = 36, normalized size = 1.09 \begin{align*} \frac{1}{6} \, B c x^{6} + \frac{1}{4} \,{\left (B b + A c\right )} x^{4} + \frac{1}{2} \, A b x^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.475083, size = 66, normalized size = 2. \begin{align*} \frac{1}{6} \, B c x^{6} + \frac{1}{4} \,{\left (B b + A c\right )} x^{4} + \frac{1}{2} \, A b x^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.058017, size = 29, normalized size = 0.88 \begin{align*} \frac{A b x^{2}}{2} + \frac{B c x^{6}}{6} + x^{4} \left (\frac{A c}{4} + \frac{B b}{4}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16247, size = 39, normalized size = 1.18 \begin{align*} \frac{1}{6} \, B c x^{6} + \frac{1}{4} \, B b x^{4} + \frac{1}{4} \, A c x^{4} + \frac{1}{2} \, A b x^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]